<template>
    <div>
        
        <a href="https://www.jd.com">去京东</a>
        <a v-bind:href="url">去京东</a>
    </div>
</template>

<script>
export default {
    data() {
        return {
            url: "https://www.jd.com",
        };
    },
};
</script>

<style>

</style>